package com.companion.companion.domain;

import java.util.Date;


/**
 * 用户陪护需求对象 carerequest
 * 
 * @author zly
 * @date 2025-05-06
 */
public class Carerequest
{

    /** 陪护需求ID */
    private Long requestId;

    /** 用户ID */
    private Long userId;

    /** 患者姓名 */
    private String patientName;

    /** 患者年龄 */
    private Long patientAge;

    /** 性别（0男，1女） */
    private Long patientGender;

    /** 病情或陪护说明 */
    private String conditionDescription;

    /** 陪护开始时间 */
    private Date startTime;

    /** 陪护结束时间 */
    private Date endTime;

    /** 陪护地址 */
    private String address;

    /** 需求状态（1待接受，2已接受，3已完成，4已取消） */
    private String status;
private Date createTime;


    public Carerequest() {
    }

    public Carerequest(Long requestId, Long userId, String patientName, Long patientAge, Long patientGender, String conditionDescription, Date startTime, Date endTime, String address, String status, Date createTime) {
        this.requestId = requestId;
        this.userId = userId;
        this.patientName = patientName;
        this.patientAge = patientAge;
        this.patientGender = patientGender;
        this.conditionDescription = conditionDescription;
        this.startTime = startTime;
        this.endTime = endTime;
        this.address = address;
        this.status = status;
        this.createTime = createTime;
    }

    /**
     * 获取
     * @return requestId
     */
    public Long getRequestId() {
        return requestId;
    }

    /**
     * 设置
     * @param requestId
     */
    public void setRequestId(Long requestId) {
        this.requestId = requestId;
    }

    /**
     * 获取
     * @return userId
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * 设置
     * @param userId
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * 获取
     * @return patientName
     */
    public String getPatientName() {
        return patientName;
    }

    /**
     * 设置
     * @param patientName
     */
    public void setPatientName(String patientName) {
        this.patientName = patientName;
    }

    /**
     * 获取
     * @return patientAge
     */
    public Long getPatientAge() {
        return patientAge;
    }

    /**
     * 设置
     * @param patientAge
     */
    public void setPatientAge(Long patientAge) {
        this.patientAge = patientAge;
    }

    /**
     * 获取
     * @return patientGender
     */
    public Long getPatientGender() {
        return patientGender;
    }

    /**
     * 设置
     * @param patientGender
     */
    public void setPatientGender(Long patientGender) {
        this.patientGender = patientGender;
    }

    /**
     * 获取
     * @return conditionDescription
     */
    public String getConditionDescription() {
        return conditionDescription;
    }

    /**
     * 设置
     * @param conditionDescription
     */
    public void setConditionDescription(String conditionDescription) {
        this.conditionDescription = conditionDescription;
    }

    /**
     * 获取
     * @return startTime
     */
    public Date getStartTime() {
        return startTime;
    }

    /**
     * 设置
     * @param startTime
     */
    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    /**
     * 获取
     * @return endTime
     */
    public Date getEndTime() {
        return endTime;
    }

    /**
     * 设置
     * @param endTime
     */
    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    /**
     * 获取
     * @return address
     */
    public String getAddress() {
        return address;
    }

    /**
     * 设置
     * @param address
     */
    public void setAddress(String address) {
        this.address = address;
    }

    /**
     * 获取
     * @return status
     */
    public String getStatus() {
        return status;
    }

    /**
     * 设置
     * @param status
     */
    public void setStatus(String status) {
        this.status = status;
    }

    /**
     * 获取
     * @return createTime
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String toString() {
        return "Carerequest{requestId = " + requestId + ", userId = " + userId + ", patientName = " + patientName + ", patientAge = " + patientAge + ", patientGender = " + patientGender + ", conditionDescription = " + conditionDescription + ", startTime = " + startTime + ", endTime = " + endTime + ", address = " + address + ", status = " + status + ", createTime = " + createTime + "}";
    }
}
